﻿<UserControl x:Class="SuperGo.Silverlight.Stone"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >

    <Grid x:Name="LayoutRoot" Background="Transparent" ShowGridLines="False">
        <Grid.RowDefinitions>
            <RowDefinition Height=".1*" />
            <RowDefinition Height="*" />
            <RowDefinition Height=".1*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width=".1*" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width=".1*" />
        </Grid.ColumnDefinitions>
        
        <Rectangle x:Name="_outerRectangle" Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="Transparent"></Rectangle>

        <Ellipse x:Name="_shadow" Margin="2" Grid.Row="1" Grid.Column="1" Grid.RowSpan="2" Grid.ColumnSpan="2" Stretch="Fill" Visibility="Collapsed">
            <Ellipse.Fill>
                <RadialGradientBrush>
                    <GradientStop Color="Black" Offset="0" />
                    <GradientStop Color="Transparent" Offset="2" />
                </RadialGradientBrush>
            </Ellipse.Fill>
        </Ellipse>

        <Ellipse Grid.ColumnSpan="2" Grid.RowSpan="2" x:Name="_ellipse" Margin="2">
            <!--<Ellipse.Fill>
                <RadialGradientBrush>
                    <GradientStop Color="White" Offset="0" />
                    <GradientStop Color="Black" Offset="10" />
                </RadialGradientBrush>
            </Ellipse.Fill>-->
        </Ellipse>

        <Line x:Name="_lineBackSlash" Grid.Row="1" Grid.Column="1" Visibility="Collapsed" StrokeThickness="1" />
        <Line x:Name="_lineForwardSlash" Grid.Row="1" Grid.Column="1" Visibility="Collapsed" StrokeThickness="1" />
        
        <TextBlock Grid.ColumnSpan="2" Grid.RowSpan="2" x:Name="_textBlock" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="Red" Visibility="Collapsed" Margin="0, 2, 0, 0"></TextBlock>
    </Grid>
</UserControl>
